﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StorageBox
{
    public static class DictionaryExtend
    {
        public static List<TValue> GetValues<TKey, TValue>(this Dictionary<TKey, TValue> dict)
        {
            List<TValue> list = new();
            foreach (var item in dict)
            {
                list.Add(item.Value);
            }
            return list;
        }
    }
}
